package com.haredot.vo;

import com.github.pagehelper.IPage;

public class LayuiPage implements IPage {

    private Integer page ;

    private Integer limit ;

    public LayuiPage(Integer page, Integer limit) {
        this.page = page;
        this.limit = limit;
    }

    @Override
    public Integer getPageNum() {
        return page;
    }

    @Override
    public Integer getPageSize() {
        return limit;
    }

    @Override
    public String getOrderBy() {
        return null;
    }
}
